package com.itheima.task;

public class luckDrawDemo3 {
    public static void main(String[] args) {
        LuckDraw luckDraw = new LuckDraw();
        Thread thread1 = new Thread(luckDraw);
        thread1.setName("抽奖池1");
        Thread thread2 = new Thread(luckDraw);
        thread2.setName("抽奖池2");
        thread1.start();
        thread2.start();
    }
}
